﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    public class ReportModel
    {
        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNo { get; set; }
        /// <summary>
        /// 使用次数
        /// </summary>
        public int UseCount { get; set; }
        /// <summary>
        /// 车型
        /// </summary>
        public int CarType { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Money { get; set; }
        /// <summary>
        /// 车型
        /// </summary>
        public string CarTypeName
        {
            get
            {
                var str = string.Empty;
                switch (CarType)
                {
                    case 0: str = "微型车";
                        break;
                    case 1: str = "小型车";
                        break;
                    case 2: str = "紧凑型车";
                        break;
                    case 3: str = "中型车";
                        break;
                    case 4: str = "中大型车";
                        break;
                    case 5: str = "大型车";
                        break;
                    case 6: str = "SUV";
                        break;
                    case 7: str = "MPV";
                        break;
                    case 8: str = "跑车";
                        break;
                    case 9: str = "皮卡";
                        break;
                    case 10: str = "微面";
                        break;
                    case 11: str = "轻客";
                        break;
                }
                return str;
            }
        }
    }
}
